package com.witmed.service;

/**
 * 医院表
 * 
 * @author chenxiangyang
 *
 */
import java.util.List;

import com.witmed.entity.Hospital;

public interface HospitalService {

	/**
	 * 插入医院信息
	 * 
	 * @param hospital
	 * @return
	 */
	boolean insertHospital(Hospital hospital);

	/**
	 * 根据名字查询医院的id
	 * 
	 * @param hospitalName
	 * @return
	 */
	List<Hospital> findByHospitalName(String hospitalName);

	/**
	 * 根据医院id删除医院
	 * 
	 * @param hospitalId
	 * @return
	 */
	boolean deleteByHospitalId(int hospitalId);
}
